home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15513 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.cc.sunysb.edu!usenet
  2. From: dkat@psych1.psy.sunysb.edu (DK)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Defeat password by C
  5. Date: Fri, 19 Apr 1996 17:44:32 GMT
  6. Organization: State University of New York at Stony Brook
  7. Message-ID: <4l8832$9jb@abel.cc.sunysb.edu>
  8. References: <4l4cns$gs0@usenetp1.news.prodigy.com> <4l4n57INNb5g@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: catsam.psy.sunysb.edu
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
  13.  
  14. >In article <4l4cns$gs0@usenetp1.news.prodigy.com>,
  15. >Bubba Meigs <VRLL67A@prodigy.com> wrote:
  16. >>I am a student who trying to learn how to program C++.
  17. >>I just wonder if anyone know how to write a program by C++ to break the 
  18. >>password.
  19.  
  20. >main()
  21. >{
  22. >    char pass[] = "mylamepassword";
  23.  
  24. >    pass[8] = 0;
  25. /* do you mean pass[8] = '\0'; ?  if so why?  if not what does this
  26. do? DK -  opps - this is a reference to c++ which I know not.  I
  27. thought we were doing good old C*.  Still the questions remain and are
  28. sincere  DK*/
  29.  
  30. >    return 0;
  31. >}
  32.  
  33. On 17 Apr 1996 23:23:35 -0700, you wrote:
  34.  
  35. >In article <4l4cns$gs0@usenetp1.news.prodigy.com>,
  36. >Bubba Meigs <VRLL67A@prodigy.com> wrote:
  37. >>I am a student who trying to learn how to program C++.
  38. >>I just wonder if anyone know how to write a program by C++ to break the 
  39. >>password.
  40.  
  41.  
  42.  
  43.